package com.lyy.entity;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author Liangyaoyun
 */
@Data
public class Dog {
    private String dogName;
    private Integer dogAge;
    private List<String> hobby;
    private Cat catFriend;
    private String gender;
    /**品种*/
    private String breeds;
    private List<Map<String,Object>> map;

    public Dog() {
        System.out.println("Dog的无参构造器被调用..");
    }

    public Dog(String gender, String breeds) {
        System.out.println("Dog的有参构造器被调用..");
        this.gender = gender;
        this.breeds = breeds;
    }
}
